/*    */ package server.life;

import java.awt.*;

/*    */
/*    */ public class MobAttackInfo {
/*    */   public int PADamage;
/*    */   public int MADamage;
/*    */   public int attackAfter;
/*  7 */   public int range = 0;
/*  8 */   public Point lt = null; public Point rb = null;
/*    */   
/*    */   public boolean magic = false;
/*    */   public boolean isElement = false;
/*    */   private boolean isDeadlyAttack;
/*    */   
/*    */   public boolean isDeadlyAttack() {
/* 15 */     return this.isDeadlyAttack;
/*    */   }
/*    */   private int mpBurn; private int mpCon; private int diseaseSkill; private int diseaseLevel;
/*    */   public void setDeadlyAttack(boolean isDeadlyAttack) {
/* 19 */     this.isDeadlyAttack = isDeadlyAttack;
/*    */   }
/*    */   
/*    */   public int getMpBurn() {
/* 23 */     return this.mpBurn;
/*    */   }
/*    */   
/*    */   public void setMpBurn(int mpBurn) {
/* 27 */     this.mpBurn = mpBurn;
/*    */   }
/*    */   
/*    */   public int getDiseaseSkill() {
/* 31 */     return this.diseaseSkill;
/*    */   }
/*    */   
/*    */   public void setDiseaseSkill(int diseaseSkill) {
/* 35 */     this.diseaseSkill = diseaseSkill;
/*    */   }
/*    */   
/*    */   public int getDiseaseLevel() {
/* 39 */     return this.diseaseLevel;
/*    */   }
/*    */   
/*    */   public void setDiseaseLevel(int diseaseLevel) {
/* 43 */     this.diseaseLevel = diseaseLevel;
/*    */   }
/*    */   
/*    */   public int getMpCon() {
/* 47 */     return this.mpCon;
/*    */   }
/*    */   
/*    */   public void setMpCon(int mpCon) {
/* 51 */     this.mpCon = mpCon;
/*    */   }
/*    */   
/*    */   public int getRange() {
/* 55 */     int maxX = Math.max(Math.abs((this.lt == null) ? 0 : this.lt.x), Math.abs((this.rb == null) ? 0 : this.rb.x));
/* 56 */     int maxY = Math.max(Math.abs((this.lt == null) ? 0 : this.lt.y), Math.abs((this.rb == null) ? 0 : this.rb.y));
/* 57 */     return Math.max(maxX * maxX + maxY * maxY, this.range);
/*    */   }
/*    */ }


/* Location:              C:\PGX\Server.jar!\server\life\MobAttackInfo.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */